Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 8 - Light Objects / Light Objects Reference
Light Objects Routines / Managing Directional Lights


Q3DirectionalLight_GetDirection

You can use the Q3DirectionalLight_GetDirection function to get the direction of a directional light.

TQ3Status Q3DirectionalLight_GetDirection (
TQ3LightObject light, 
TQ3Vector3D *direction);
light
A directional light object.
direction
On exit, the direction of the specified light.
DESCRIPTION
The Q3DirectionalLight_GetDirection function returns, in the direction parameter, the current direction of the directional light specified by the light parameter.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996